#ifndef __IMETHOD_H__
#define __IMETHOD_H__


#include <Windows.h>


class IMethod
{
	std::string _str;


public :
	IMethod( const char* sync_title )
	{
		_str.assign( " < sync method > - " );
		_str.append( sync_title );
	}
	virtual ~IMethod( void )
	{
		_str.clear();
	}

	virtual void release( void ) = 0;
	virtual void initialize( void ) = 0;
	virtual bool lock( void ) = 0;
	virtual void unlock( void ) = 0;


protected :
	std::string name( void ) const { return _str; }
};


#endif